public class DocumentDefaultsDefinition extends java.lang.Object implements DefaultsDefinition
<beans>
level in a standard Spring XML bean definition document:
default-lazy-init
, default-autowire
, etc.Modifier and Type | Field and Description |
---|---|
private java.lang.String |
autowire |
private java.lang.String |
autowireCandidates |
private java.lang.String |
destroyMethod |
private java.lang.String |
initMethod |
private java.lang.String |
lazyInit |
private java.lang.String |
merge |
private java.lang.Object |
source |
Constructor and Description |
---|
DocumentDefaultsDefinition() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAutowire()
Return the default autowire setting for the document that's currently parsed.
|
java.lang.String |
getAutowireCandidates()
Return the default autowire-candidate pattern for the document that's currently parsed.
|
java.lang.String |
getDestroyMethod()
Return the default destroy-method setting for the document that's currently parsed.
|
java.lang.String |
getInitMethod()
Return the default init-method setting for the document that's currently parsed.
|
java.lang.String |
getLazyInit()
Return the default lazy-init flag for the document that's currently parsed.
|
java.lang.String |
getMerge()
Return the default merge setting for the document that's currently parsed.
|
java.lang.Object |
getSource()
Return the configuration source
Object for this metadata element
(may be null ). |
void |
setAutowire(java.lang.String autowire)
Set the default autowire setting for the document that's currently parsed.
|
void |
setAutowireCandidates(java.lang.String autowireCandidates)
Set the default autowire-candidate pattern for the document that's currently parsed.
|
void |
setDestroyMethod(java.lang.String destroyMethod)
Set the default destroy-method setting for the document that's currently parsed.
|
void |
setInitMethod(java.lang.String initMethod)
Set the default init-method setting for the document that's currently parsed.
|
void |
setLazyInit(java.lang.String lazyInit)
Set the default lazy-init flag for the document that's currently parsed.
|
void |
setMerge(java.lang.String merge)
Set the default merge setting for the document that's currently parsed.
|
void |
setSource(java.lang.Object source)
Set the configuration source
Object for this metadata element. |
@Nullable private java.lang.String lazyInit
@Nullable private java.lang.String merge
@Nullable private java.lang.String autowire
@Nullable private java.lang.String autowireCandidates
@Nullable private java.lang.String initMethod
@Nullable private java.lang.String destroyMethod
@Nullable private java.lang.Object source
public void setLazyInit(@Nullable java.lang.String lazyInit)
@Nullable public java.lang.String getLazyInit()
public void setMerge(@Nullable java.lang.String merge)
@Nullable public java.lang.String getMerge()
public void setAutowire(@Nullable java.lang.String autowire)
@Nullable public java.lang.String getAutowire()
public void setAutowireCandidates(@Nullable java.lang.String autowireCandidates)
@Nullable public java.lang.String getAutowireCandidates()
public void setInitMethod(@Nullable java.lang.String initMethod)
@Nullable public java.lang.String getInitMethod()
public void setDestroyMethod(@Nullable java.lang.String destroyMethod)
@Nullable public java.lang.String getDestroyMethod()
public void setSource(@Nullable java.lang.Object source)
Object
for this metadata element.
The exact type of the object will depend on the configuration mechanism used.
@Nullable public java.lang.Object getSource()
BeanMetadataElement
Object
for this metadata element
(may be null
).getSource
in interface BeanMetadataElement